package com.betterman.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fox
 * @since 2020-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Comment对象", description="")
public class Comment extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论的内容")
    private String content;

    @ApiModelProperty(value = "回复的评论ID")
    private Long parentId;

    @ApiModelProperty(value = "评论的内容ID")
    private Long postId;

    @ApiModelProperty(value = "评论的用户ID")
    private Long userId;

    @ApiModelProperty(value = "“顶”的数量")
    private Integer voteUp;

    @ApiModelProperty(value = "“踩”的数量")
    private Integer voteDown;

    @ApiModelProperty(value = "置顶等级")
    private Integer level;

    @ApiModelProperty(value = "评论的状态")
    private Integer status;


}
